<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" 
    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml"
	xmlns:ui="http://java.sun.com/jsf/facelets"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:f="http://java.sun.com/jsf/core"
	xmlns:p="http://primefaces.org/ui">

<h:head>
	<title>SIRAD</title>
</h:head>
<h:body>
	<h:form id="form">		
		<p:tree value="#{treeBean.root}" var="doc" id="tree">
		    <p:treeNode expandedIcon="ui-icon-folder-open"  
	                    collapsedIcon="ui-icon-folder-collapsed">  
	            <h:outputText value="#{doc}"/>  
	        </p:treeNode>  
	  
	        <p:treeNode type="document" icon="ui-icon-document">  
	            <h:outputText value="#{doc}" />  
	        </p:treeNode>
	    </p:tree> 
	</h:form>
	
</h:body>
</html>